const express = require('express');
const router = express.Router();
router.get('/', (req, res) => {
    const content = [];
    for(let i = 0; i < 40; i++) content.push({
        id: `${i + 1}`,
        order: `${i}`,
        code: `code${i}`,
        submitTime: '2019-10-08T07:29:54.423Z',
        shipmentDate: '2019-10-08T07:29:54.423Z',
        claimType: 16081001,
        dealerCode: `dealerCode${i}`,
        invoiceCode: `invoiceCode${i}`,
        partCode: `partCode${i}`,
        partName: `partName${i}`,
        claimAmount: 12324,
        currency: 1,
        price: 100,
        sum: 32132123,
        sumWithRate: 164564565,
        claimReason: 1,
        payAmount: 1000,
        cacuFee: 4561651,
        confirmTime: '2019-10-08T07:29:54.423Z',
        status: 1,
        remark: 'remark'
    });
    res.json({
        message: '',
        payload: {
            content,
            totalElements: 40,
        }
    });
});
router.get('/export', (req, res) => {
    res.json({
        message: '导出'
    });
});
module.exports = router;
